package Solution_3;

public abstract class Server {
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    private String name;
    private double priceByMonth;
    public double getPriceByMonth() {
        return priceByMonth;
    }

    public void setPriceByMonth(double priceByMonth) {
        this.priceByMonth = priceByMonth;
    }

    public abstract void show();
    public abstract void consume();
}
